<template>
  <div id="app">
    <h3 class="page-title"> 鸟瞰智能 接口文档</h3>
    <div class="set-btn" @click="changeShow">
      
      <el-button type="primary" size="mini">
        apis.js
        <i class="el-icon-arrow-left "></i>
      </el-button>
      
    </div>
    <chartdodo></chartdodo>
    <!-- <uploadcomponet></uploadcomponet> -->

    <apiview class="apiview" ref="apiview"></apiview>
  </div>
</template>
<script>
import Chartdodo from './views/chartdodo2.0.vue'
import UploadComponet from './views/upload.vue'
import Apiview from './views/API.view.vue'
export default {
  components:{
    'chartdodo':Chartdodo,
    'uploadcomponet':UploadComponet,
    'apiview':Apiview
  },
  data () {
    return {
      
    }
  },
  methods: {
    changeShow(){
      this.$refs.apiview.changeShow()
    }
  },
}
</script>

<style lang="scss">
// @import url(./app.scss);
#app {
  font-family: Helvetica, sans-serif;
  width:80%;
  margin: 0 auto;
  .page-title{
    background-color: #1c8cf7;
    color:#fff;
    height: 60px;
    line-height: 60px;
    padding: 0 8px;
  }
  .set-btn{
    position: fixed;
    top:20px;
    right: 20px;

  }
  .apiview{
    position: fixed;
    top:0;
    right: 0;
    bottom: 0;
    width:40%;
    transition: all 1s;
    background-color: #fff;
    opacity: .9;

  }
}
</style>
